/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrmLiquidaPagar.java
 *
 * Created on 23/09/2009, 10:20:01
 */

package contaspagar.telas;

import contaspagar.classes.ContasPagar;
import java.awt.Image;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.UIManager;

/**
 *
 * @author Wolverine
 */
public class FrmLiquidaPagar extends javax.swing.JFrame {

    /** Creates new form FrmLiquidaPagar */
    public FrmLiquidaPagar(ContasPagar contasPagar) {
        initComponents();
        setLocationRelativeTo(this);
        setVisible(true);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        liquidarContasjPanel = new javax.swing.JPanel();
        dadosjPanel = new javax.swing.JPanel();
        numeroContajLabel = new javax.swing.JLabel();
        NumerojTextField = new javax.swing.JTextField();
        dataEmissaojLabel = new javax.swing.JLabel();
        planoContasjLabel = new javax.swing.JLabel();
        nomeCedentejTextField = new javax.swing.JTextField();
        nomeCedentejLabel = new javax.swing.JLabel();
        planoContasjTextField = new javax.swing.JTextField();
        dataVencimentojLabel = new javax.swing.JLabel();
        valorAPagarjLabel = new javax.swing.JLabel();
        ValorPagarjTextField = new javax.swing.JTextField();
        observacaojLabel = new javax.swing.JLabel();
        observacaojTextField = new javax.swing.JTextField();
        dataEmissaojDateChooser = new com.toedter.calendar.JDateChooser();
        dataVencimentojDateChooser = new com.toedter.calendar.JDateChooser();
        jPanel3 = new javax.swing.JPanel();
        salvarTelajButton = new javax.swing.JButton();
        fecharTelajButton = new javax.swing.JButton();
        valorPagojLabel = new javax.swing.JLabel();
        valorPagojTextField = new javax.swing.JTextField();
        dataPagamentojLabel = new javax.swing.JLabel();
        locaPagamentojComboBox = new javax.swing.JComboBox();
        localPagamentojLabel = new javax.swing.JLabel();
        dataPagamentojDateChooser = new com.toedter.calendar.JDateChooser();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Liquidar Contas a Pagar");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        URL url = this.getClass().getResource("/imagens/logo_mini.png");
        Image imagemTitulo = Toolkit.getDefaultToolkit().getImage(url);
        this.setIconImage(imagemTitulo);
        try{
            UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
        }catch (Exception e){
            e.printStackTrace();
        }
        liquidarContasjPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        liquidarContasjPanel.setPreferredSize(new java.awt.Dimension(800, 600));
        liquidarContasjPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        dadosjPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        numeroContajLabel.setText("Nº Conta");
        dadosjPanel.add(numeroContajLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 4, -1, -1));

        NumerojTextField.setEditable(false);
        dadosjPanel.add(NumerojTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, 80, -1));

        dataEmissaojLabel.setText("Data Emissão");
        dadosjPanel.add(dataEmissaojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 0, -1, 20));

        planoContasjLabel.setText("Plano de Contas");
        dadosjPanel.add(planoContasjLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 82, -1, 20));

        nomeCedentejTextField.setEditable(false);
        dadosjPanel.add(nomeCedentejTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 60, 370, -1));

        nomeCedentejLabel.setText("Cedente");
        dadosjPanel.add(nomeCedentejLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 42, -1, 20));

        planoContasjTextField.setEditable(false);
        dadosjPanel.add(planoContasjTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, 370, -1));

        dataVencimentojLabel.setText("Data Vencimento");
        dadosjPanel.add(dataVencimentojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 123, -1, 20));

        valorAPagarjLabel.setText("Valor a Pagar");
        dadosjPanel.add(valorAPagarjLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 123, -1, 20));

        ValorPagarjTextField.setEditable(false);
        dadosjPanel.add(ValorPagarjTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 140, 100, -1));

        observacaojLabel.setText("Observação");
        dadosjPanel.add(observacaojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 165, -1, -1));

        observacaojTextField.setEditable(false);
        dadosjPanel.add(observacaojTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 180, 370, -1));

        dataEmissaojDateChooser.setEnabled(false);
        dadosjPanel.add(dataEmissaojDateChooser, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 20, 100, -1));

        dataVencimentojDateChooser.setEnabled(false);
        dadosjPanel.add(dataVencimentojDateChooser, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 140, 110, -1));

        liquidarContasjPanel.add(dadosjPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 400, 200));

        jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        salvarTelajButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/tick.png"))); // NOI18N
        salvarTelajButton.setText("Salvar");
        salvarTelajButton.setToolTipText("Salvar");
        jPanel3.add(salvarTelajButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 8, -1, -1));

        fecharTelajButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/cross.png"))); // NOI18N
        fecharTelajButton.setText("Fechar");
        fecharTelajButton.setToolTipText("Fechar");
        jPanel3.add(fecharTelajButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 8, -1, -1));

        liquidarContasjPanel.add(jPanel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 270, 370, 40));

        valorPagojLabel.setText("Valor Pago");
        liquidarContasjPanel.add(valorPagojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 215, -1, 20));
        liquidarContasjPanel.add(valorPagojTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 233, 100, 20));

        dataPagamentojLabel.setText("Data Pagamento");
        liquidarContasjPanel.add(dataPagamentojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 215, -1, 20));

        locaPagamentojComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Selecionar", "Banco Internet", "Banco Cheque", "Caixa Dinheiro", "Cartão de Credito", "Cartão Debito" }));
        liquidarContasjPanel.add(locaPagamentojComboBox, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 233, 150, -1));

        localPagamentojLabel.setText("Local de Pagamento");
        liquidarContasjPanel.add(localPagamentojLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 215, -1, 20));
        liquidarContasjPanel.add(dataPagamentojDateChooser, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 234, 100, -1));

        getContentPane().add(liquidarContasjPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 420, 320));

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
   
    

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField NumerojTextField;
    private javax.swing.JTextField ValorPagarjTextField;
    private javax.swing.JPanel dadosjPanel;
    private com.toedter.calendar.JDateChooser dataEmissaojDateChooser;
    private javax.swing.JLabel dataEmissaojLabel;
    private com.toedter.calendar.JDateChooser dataPagamentojDateChooser;
    private javax.swing.JLabel dataPagamentojLabel;
    private com.toedter.calendar.JDateChooser dataVencimentojDateChooser;
    private javax.swing.JLabel dataVencimentojLabel;
    private javax.swing.JButton fecharTelajButton;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel liquidarContasjPanel;
    private javax.swing.JComboBox locaPagamentojComboBox;
    private javax.swing.JLabel localPagamentojLabel;
    private javax.swing.JLabel nomeCedentejLabel;
    private javax.swing.JTextField nomeCedentejTextField;
    private javax.swing.JLabel numeroContajLabel;
    private javax.swing.JLabel observacaojLabel;
    private javax.swing.JTextField observacaojTextField;
    private javax.swing.JLabel planoContasjLabel;
    private javax.swing.JTextField planoContasjTextField;
    private javax.swing.JButton salvarTelajButton;
    private javax.swing.JLabel valorAPagarjLabel;
    private javax.swing.JLabel valorPagojLabel;
    private javax.swing.JTextField valorPagojTextField;
    // End of variables declaration//GEN-END:variables

}
